package com.company.java.basic.day01;
/*
数据类型转换的特例：字符串特例
    所有类型与字符串"+"拼接，结果都是字符串
 */
public class Day01_TypeChange02 {
    public static void main(String[] args) {
        char c1 = '0';
        char c2 = '1';
        System.out.println(c1+""+c2);//char+字符串
        System.out.println(c1+c2+"");
        System.out.println(""+c1+c2);
    }
}
